				<div class="section">
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Thông tin đơn hàng: <a href="javascript:void(0)"><?php echo $data['info']['name'] ;?></a></h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->
					
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						<div class="section_content_inner">
                        	<div class="table_tabs_menu">
							<!--[if !IE]>start  tabs<![endif]-->
							<!--[if !IE]>end  tabs<![endif]-->

							</div>
				<!--[if !IE]>start table_wrapper<![endif]-->
                			<div class="table_wrapper">
								<div class="table_wrapper_inner" id="tab1">
									<div class="form_items" style="width: 100%;">
										<div class="form_items_right" style="width: 100%;">
                                        <div id="order-update-status-box">
										<h3 style="font-size: 14px;">Cập nhật trạng thái đơn hàng</h3>
                                        <form action="<?php echo base_url; ?>admin/index.php?mod=order&act=update&oid=<?php echo $data['info']['id']; ?>" method="post">
											<table width="336" style="margin-bottom:10px;">
												<tbody>
			                                        <tr>
													    <td>Trạng thái</td>
													    <td>
													    	<select id="status_id" name="status">
														        <option value="0">--Chọn --</option>
														        <option value="1">Đang xử lý</option>
				                                                <option value="2">Thành công</option>
				                                                <option value="3">Đang chuyển hàng</option>
	                                                            <option value="4">Hủy bỏ</option>
                                                                <option value="5">Không thành công</option>
			                                                </select>
													    </td>
													</tr>
													<tr>
													    <td></td><td><span id="update_status"><input type="submit" value="Cập nhật" name="ok" /></span></td>
													</tr>
												</tbody>
	                                        </table>
                                        </form>
										</div>
										
								            <?php
								                if($data['info'] == FALSE){
								                    echo "<h4>Không có dữ liệu</h4>";
								                }else{
								                    echo "<table width='100%' class='none'>";
								                    echo "<tr>";
								                    echo "<td width='150' style='line-height:1px'><h4>Tên người liên hệ </h4></td><td width='250'>".$data['info']['name']."</td>";
								                    echo "</tr>";
								                    echo "<tr>";
								                    echo "<td style='line-height:1px'><h4>Email </h4></td><td>".$data['info']['email']."</td>";
								                    echo "</tr>";
								                    echo "<tr>";
								                    echo "<td style='line-height:1px'><h4>Điện thoại </h4></td><td>".$data['info']['phone']."</td>";
								                    echo "</tr>";
								                    echo "<tr>";
								                    echo "<td style='line-height:1px'><h4>Ngày gửi </h4></td><td>".$data['info']['date']."</td>";
								                    echo "</tr>";			
								                    echo "<tr>";
								                    echo "<td colspan='2'><h5 class='ok' style='margin:10px 0px 10px 0px; line-height:10px'>Nội dung liên hệ</h5></td>";
								                    echo "</tr>";
								                    echo "<tr>";
								                    echo "<td colspan='2' style='line-height:30px; text-align:justify'>".$data['info']['message']."</td>";
								                    echo "</tr>";
								                    echo "</table>";
								                }
								            ?>
											<p style="line-height:20px; text-align:justify"></p>
										</div>
									</div>
								</div>
							</div>

							<div class="table_wrapper" style="float: left;">
								<div class="table_wrapper_inner" id="tab1">
		                            <form action="" method="post" name="sac">
										<table cellpadding="0" cellspacing="0" width="905">
											<tbody><tr>
											  <th  style="padding: 0 2px;" width="30"><a href="#">Stt</a></th>
											  <th style="padding: 0 2px;" width="137"><a href="#">Ảnh</a></th>
											  <th style="padding: 0 2px;" width="360"><a href="#">Tên sản phẩm</a></th>
											  <th style="padding: 0 2px;" width="120"><a href="#">Giá bán</a></th>
											  <th style="padding: 0 2px;" width="95"><a href="#">Số lượng</a></th>
											  <th style="padding: 0 2px;" width="161"><a href="#">Tổng</a></th>
											  <!-- <th width="49"><a href="#">Status</a></th> -->
											</tr>
		                                    <?php
											
												$unserial = $data['info']['serial'];
												$serial = json_decode($unserial,true);
												//debug($serial);
												/*if(isset($serial) && $serial != NULL){
													foreach($serial as $value){
														echo $value['name']."<br />";
													}
												}*/
												
											if(isset($serial) && $serial  != NULL){
												$stt = 0;
												foreach($serial as $items){
													$stt++;
													if($stt % 2 == 0){
														echo "<tr class='second'>";
														echo "<td>$stt</td>";
														echo "<td><img style='max-width: 70px;max-height: 90px;padding: 5px 7px;' src='".base_url."public/images/".$items['images']."' alt=".$items['name']." /></td>";
														echo "<td>".$items['name']."</td>";
														$total = ($items['price']*$items['qty']);
														echo "<td>".number_format($items['price'])." VNĐ</td>";
														echo "<td>".$items['qty']."</td>";
														echo "<td>".number_format($total)." VNĐ</td>";
														echo "</tr>";
													}else{
														echo "<tr class='first'>";
														echo "<td>$stt</td>";
														echo "<td><img style='max-width: 70px;max-height: 90px;padding: 5px 7px;' src='".base_url."public/images/".$items['images']."' alt=".$items['name']." /></td>";
														echo "<td>".$items['name']."</td>";
														$total = ($items['price']*$items['qty']);
														echo "<td>".number_format($items['price'])." VNĐ</td>";
														echo "<td>".$items['qty']."</td>";
														echo "<td>".number_format($total)." VNĐ</td>";
														echo "</tr>";
													}
												}
											}else{
												echo "<tr>";
												echo "<td colspan='7' style='font-size:12px;'>Không có dữ liệu</td>";
												echo "</tr>";
											}
											?>
										</tbody></table>
		                            </form>
                            	<!-- <div id="pagination"><?php echo $data['pagelist'];?></div> -->
							</div>
							</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>